package com.zmn.oms.services.interfaces.comment;

import com.zmn.oms.model.entity.comment.OrderComment;

import java.util.List;

/**
 * 类描述：订单评价
 *
 * @author lujia
 * @date 2018/11/27 11:34
 */
public interface OrderCommentService {

    /**
     * 查询通过主键评价
     * @param orderId
     * @return
     */
    OrderComment findCommentByKey(Long orderId);


    /**
     * 查询通过主键渠道评价集合
     * @param orderId
     * @return
     */
    List<OrderComment> findChannelCommentListByKey(Long orderId);


    /**
     *
     * @param orderIdList
     * @return
     */
    List<OrderComment> listOrderCommentByOrderIdList(List<Long> orderIdList);
}
